package cn.xdmnb.cloud.blog.plugin.web.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author yukai
 * @since 2023年01月05日 22:41
 */
public class ServiceException extends RuntimeException{

    @Getter
    @Setter
    private Integer code;

    public ServiceException(Integer code,String message) {
        super(message);
        this.code=code;
    }
}
